Skip to main content

Airtel Tausi Affordability Score

POST https://api.manka.tz/api/v1/analysis/affordability

This analyses the pdf and respondds with the Tausi's Affordability score. The response is in a json format.

Header Requirements

  • Authorization --required

Body Params

  • file --required
  • fullname --required
curl example request
curl -X 'POST' 'https://api.manka.tz/api/v1/analysis/affordability'
-F fullname=Hussein \
-F 'file=@Airtel_4435535_Statement.pdf' \
-H 'Authorization: Bearer XXXXXXXXXXX' \'

Response Sample

  1. Status OK Response
200 OK
{
"rank": 1,
"high": 87790.0,
"moderate": 58527.0,
"low": 43895.0
}